package com.ahs.model;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(Include.NON_NULL)
@ApiModel(value = "user", description = "测试实体")
	public class User {
		@ApiModelProperty(value = "主键")
		private String id;
		@ApiModelProperty(value = "姓名")
		private String name;

		public User def(String id, String name) {
			this.id = id;
			this.name = name;
			return this;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

}
